package org.xb.FactoryMethod;

/**
 * @Author
 * @Description
 * @Date created in 15:06 2023/11/29
 */
public class CubeOperate implements IOperate{
    @Override
    public Double operate(Double number1, Double number2) {
        return Math.pow(number1,number2);
    }
}
